#include "FITKCDMonitorSamplingPoint.h"

using namespace Interface;

void FITKCDMonitorSamplingPoint::setPosition(double* dVal)
{
	setValue("Position_0", dVal[0]);
	setValue("Position_1", dVal[1]);
	setValue("Position_2", dVal[2]);
}



double* FITKCDMonitorSamplingPoint::getPosition()
{
	double* Position = new double[3];
	Position[0] = getValue("Position_0").toDouble();
	Position[1] = getValue("Position_1").toDouble();
	Position[2] = getValue("Position_2").toDouble();
	return Position;
}
